package com.hoshiibuy.dictionary.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoshiibuy.dictionary.mapper.IDicInteresHobMapper;
import com.hoshiibuy.dictionary.service.IDicInteresHobService;
import com.hoshiibuy.dictionary.entity.DicInteresHobVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author guangjinwei
 * @create 2019-04-18
 */
@Service
public class DicInteresHobServiceImpl extends ServiceImpl<IDicInteresHobMapper, DicInteresHobVo> implements IDicInteresHobService {


    @Override
    public List<DicInteresHobVo> findDicInteresHobList() {
        return baseMapper.findDicInteresHobList();
    }

    @Override
    public void saveDicInteresHob(DicInteresHobVo dicInteresHobVo) {
        baseMapper.insert(dicInteresHobVo);
    }
}
